package com.biz.primus.ms.oms.dao.po.logs;

import com.biz.primus.ms.base.jpa.po.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

/**
 * 分单日志
 *
 * @author yanweijin
 * @date 2017/11/7
 */
@Entity
@Table(name="oms_log_allocation", indexes = {
		@Index(name = "idx_order_code",columnList = "orderCode")
})
@Data
public class AllocationOrderLogs extends BaseEntity{

	/**
	 * 订单编号
	 */
	private String orderCode;

	/**
	 * 订单原门店,可能为null
	 */
	@Column(length = 50)
	private String sourceDepotCode;

	/**
	 * 分单到目标门店
	 */
	@Column(length = 50)
	private String targetDepotCode;

	/**
	 * 日志信息/备注信息
	 */
	@Column(length = 200)
	private String msg;

	/**
	 * 分单人(系统/客服)
	 */
	@Column(length = 50)
	private String operator;



}
